Repository navigation
Remove unused @wordpress/scripts and update npm deps - #698
Merged
Merged
Conversation
@wordpress/scripts was only used by an unused license-check script. Update grunt to 1.6 and apply npm audit fixes, and run the release workflow on the Node version in .nvmrc.
This was referenced Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Brings
npm auditfrom 76 vulnerabilities (4 critical) to 0. All npm packages are development tools; none ship with the plugin.Changes
@wordpress/scripts. Its only use was thecheck:licensesnpm script, which no workflow or Grunt task runs. It pulled in webpack, Puppeteer, Lighthouse and their dependencies.grunt~1.5.3→~1.6.1.npm audit fixfor the remaining packages.release.yml: use the Node version from.nvmrc(20) instead of Node 16, matching the Internationalization workflow, and replace the deprecatedset-outputcommand.Supersedes #685, #672, #671, #669, #665, #664, #660, #658, #653, #652, #651, #635 and #613: each package is now removed or at or above the version those pull requests target.
Testing
On Node 20:
npm run build,npm run i18n:check, and the release task'scleanandcopysteps that builddist/.